//
//  ExamBranch.h
//  ocdemo
//
//  Created by JIENING ZHANG on 2020/5/9.
//  Copyright © 2020 JIENING ZHANG. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ExamBranch : NSObject
+ (void)demoLogic;
@end

//请按照自己的思路实现一个ThreadLocal类，供线程存取线程私有的内容，根据自己思路，用最好的代码来实现。
//ThreadLocal<String> local = new ThreadLocal<>();
//在线程中存取当前线程的内容。
//local.set(“Hello World”);
//local.get()
@interface ThreadLocal : NSObject
+ (id)get;
+ (void)set:(id) value;
+ (void)remove;
@end

@interface HanoiTower : NSObject

+ (void)moveHanoiTowerFrom:(int)from to:(int)to numberFrom:(int)numberFrom;

@end

NS_ASSUME_NONNULL_END
